import React from 'react';
export default class CmtItem extends React.Component{
    constructor(props){
        super(props);
        this.state={
        }
    }
    render(){
        return  <li className="list-group-item clearfix">
        <p>{this.props.content}</p>
        <div>
            <p className="pull-left"><b>评论人:</b>{this.props.author}</p>
            <p className="pull-right"><small>评论时间:{this.props.posttime}</small></p>
        </div>
    </li>
    }
}